<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>统一身份管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="css/system.css">    
	<link rel="stylesheet" type="text/css" href="js/ext4/resources/css/ext-all.css">  
	  
	<script type="text/javascript" src="js/ext4/ext-all-debug.js"></script>
	<script type="text/javascript" src="js/ext4/locale/ext-lang-zh_CN.js"></script>
	<script type="text/javascript" src="js/ids/HttpService.js"></script>
	<script type="text/javascript" src="js/ids/model.js"></script>
	<script type="text/javascript" src="js/ids/common.js"></script>
	
	<script type="text/javascript" src="js/ids/centerPanel.js"></script>
	<script type="text/javascript" src="js/ids/organization.js"></script>
	<script type="text/javascript" src="js/ids/menuPanel.js"></script>
	<script type="text/javascript" src="js/ids/staffPanel.js"></script>
	<script type="text/javascript" src="js/ids/appRegister.js"></script>
	
    
  </head>
  <body>
  <script type="text/javascript">
  
	Ext.useShims = true;
	Ext.BLANK_IMAGE_URL = 'js/ext4/resources/themes/images/default/tree/s.gif'; 
	
	//翻页条目数
	var globalPageSize  =  '10';
	

	
	Ext.onReady(function() {
		
		var centerpanel = centerPanel.getCenterPanel();
		
		//岗位模型
		if (!Ext.ModelManager.isRegistered('quartersModel')){
			Ext.define("quartersModel",{
				extend: 'Ext.data.Model',
				fields: [
					{name:'id'},
					{name:'deptCode'},
					{name:'deptName'},
					{name:'parentDeptName'},
					{name:'description'},
					{name:'createPerson'},
					{name:'createTime'},
					{name:'count'}
				]
			});
		}
		
		//岗位树模型
		if (!Ext.ModelManager.isRegistered('quarterTreeNodeModel')){
			Ext.define("quarterTreeNodeModel",{
				extend: 'Ext.data.Model',
				fields: [
					{name:'id'},
					{name:'text'},
					{name:'cls'},
					{name:'leaf'},
					{name:'deptcode'},
					{name:'description'}
				]
			});
		}
		
		//系统信息模型
		if (!Ext.ModelManager.isRegistered('appModel')){
			Ext.define('appModel', {
		        extend: 'Ext.data.Model',
		        fields: [
		            'appName',
		            'appID'
		        ]
		    });
		}
		
		var viewport = new Ext.Viewport( {
			layout : 'fit',
			items : [centerpanel]
		});
	});
	</script>
  </body>
</html>
